If you want to write an application that accesses a database, you'll need to use enterprise objects in conjunction with WebObjects. Although database access is covered in the tutorials in Getting Started With WebObjects, you'll want to consult the Enterprise Objects Framework Developer's Guide for more in-depth information.
Other valuable information can be found online. To access online documentation, use the WebObjects Info Center. You can access the WebObjects Info Center on Windows NT systems by selecting Start Programs
WebObjects
Info Center.
Among the books that are available online are: